package com.xjt.wx_admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Xujt
 * @since 2023-03-22 11:33:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 申请消息
     */
    private String applyMsg;

    /**
     * 申请时间
     */
    private LocalDateTime applyTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 被申请人id
     */
    private Long applyId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 申请状态  （0：申请中 2：同意 3：拒绝）
     */
    private Integer state;
}
